﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;

namespace WpfWordsLearner.Model
{
	public sealed class TranslateModel : DependencyObject
	{
		public string FromLanguage
		{
			get { return (string)GetValue(FromLanguageProperty); }
			set { SetValue(FromLanguageProperty, value); }
		}

		// Using a DependencyProperty as the backing store for FromLanguage.  This enables animation, styling, binding, etc...
		public static readonly DependencyProperty FromLanguageProperty =
			DependencyProperty.Register("FromLanguage", typeof(string), typeof(TranslateModel), new UIPropertyMetadata(null));


		public string ToLanguage
		{
			get { return (string)GetValue(ToLanguageProperty); }
			set { SetValue(ToLanguageProperty, value); }
		}

		// Using a DependencyProperty as the backing store for ToLanguage.  This enables animation, styling, binding, etc...
		public static readonly DependencyProperty ToLanguageProperty =
			DependencyProperty.Register("ToLanguage", typeof(string), typeof(TranslateModel), new UIPropertyMetadata(null));


		public string Content
		{
			get { return (string)GetValue(ContentProperty); }
			set { SetValue(ContentProperty, value); }
		}

		// Using a DependencyProperty as the backing store for Content.  This enables animation, styling, binding, etc...
		public static readonly DependencyProperty ContentProperty =
			DependencyProperty.Register("Content", typeof(string), typeof(TranslateModel), new UIPropertyMetadata(null));

	}
}
